/*******************************************************************************
 * Copyright (c) 2009, 2010 SOPERA GmbH
 * All rights reserved.
 * This program and the accompanying materials are made available
 * under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 ******************************************************************************/

import org.hyperic.hibernate.SortField;

/**
 * This class describes a column in dojoTable
 */
class SopMssField implements SortField {
	
	private String value;	// Column name in dojoTable
	private String column;	// Column name in database table
	
	SopMssField(String value, String column) {
		this.value = value;
		this.column = column;
	}
	
	public String getDescription() {
		return value;
	}
	
	public String getValue() {
		return value;
	}
	
	public String getColumn() {
		return column;
	}
	
	public boolean isSortable() {
		return true;
	}
}
